]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
polkitAgent: Expand password entry to the full width
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 7 Nov 2012 17:06:02 +0000 (18:06 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 12 Nov 2012 15:59:12 +0000 (16:59 +0100)
Due to an oversight, the width of the password entry is currently
determined by the length of the message description. Fix the flags
so that the entry spans the entire width of the dialog.

https://bugzilla.gnome.org/show_bug.cgi?id=684810

js/ui/components/polkitAgent.js

index 2f710df8493666c3b0c4f707d8ab973edff6060f..db32976a602618dc4df36aab60ba712530038c3e 100644 (file)
@@ -49,7 +49,7 @@ const AuthenticationDialog = new Lang.Class({
         let messageBox = new St.BoxLayout({ style_class: 'prompt-dialog-message-layout',
                                             vertical: true });
         mainContentBox.add(messageBox,
-                           { y_align: St.Align.START });
+                           { expand: true, y_align: St.Align.START });
 
         this._subjectLabel = new St.Label({ style_class: 'prompt-dialog-headline',
                                             text: _("Authentication Required") });